<html>
<!-- $LastChangedDate: 2009-11-07 22:56:33 -0500 (Sat, 07 Nov 2009) $ -->
<!-- Copyright (C) 2004,2009 Jim Brooks http://www.palomino3d.org -->
<head>
<title>Palomino - Rules</title>
<link rel='stylesheet' type='text/css' href='docs.css'>
<link rel='icon' type='image/png' href='images/favicon.png'/>
</head>
<body>

<!-- ----------------------------------------------------------------------- -->
<h1>Palomino - Rules</h1>
<p>
&copy;2004,2009&nbsp;&nbsp;Jim E. Brooks
&nbsp;&nbsp;<a href='http://www.palomino3d.org'>http://www.palomino3d.org</a>
</p>
<hr>
<ul>
  <li><a href='index.html'>Index</a></li>
  <li><a href='#Rules'>Rules</a></li>
      <ul>
        <li><a href='#DestroyObject Event'>DestroyObject Event</a></li>
      </ul>
</ul>

<!-- ----------------------------------------------------------------------- -->
<hr>
<a name='Rules'></a>
<h2>Rules</h2>
  
<a name='DestroyObject Event'></a>
<h3>DestroyObject Event</h3>
<p><!--date-->[2008/11]</p>
<p>
Some 3D models consume large amounts of memory (tens of megabytes).
Smart-pointers to Objects are everywhere in the simulator,
so module cannot directly destroy an Object.
Rather, an event must be broadcast to release all references to it.
References to Objects exist in both Lua and C++,
so the event must be broadcast across both.
</p>
<p>
See <a href='module_object.html#Object Destruction'>Object Destruction</a>.
</p>

<!-- ********************************* END ********************************* -->
<hr>
<p align='center'>
<font size='-2'>
<!-- hhmts start -->
Last modified: Sat Nov  7 15:01:32 CST 2009
<!-- hhmts end -->
</font>
</p>

</body>
</html>
